package sample.object.Partition;

import rescuecore2.standard.entities.StandardEntityURN;

public enum GroupingType {
	TotalBuildingArea, BuildingCount, RoadCount;

	public static GroupingType getGroupingType(StandardEntityURN urn) {
		switch (urn) {
		case FIRE_BRIGADE:
			return TotalBuildingArea;
		case POLICE_FORCE:
			return RoadCount;
		case AMBULANCE_TEAM:
		default:
			return BuildingCount;
		}
	}
}
